<?php
/**
*
* @package - Allytools Mod
* @version $Id: functions_allytool.php 1 2010-01-24 08:49:05Z allytools $
* @copyright (c) Pionier ( http://board.allytool.de )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

/*
 * @ignore 
*/ 
if (!defined('IN_PHPBB')) 
{ 
	exit; 
} 

/**
* get_formel_config
*
* Get all formel config data
* Returns the formel config in array $config
*/
function get_allytool_config()
{
	global $db;

	$config = array();
	$sql = 'SELECT * 
		FROM ' . ALLYTOOL_CONFIG_TABLE;
	$result = $db->sql_query($sql);

	while ($row = $db->sql_fetchrow($result))
	{
		$config[$row['config_name']] = $row['config_value'];
	}
	$db->sql_freeresult($result);

	return $config;
}

?>